package com.cy.teducommunitys.com.cy.entity;

import java.time.LocalDate;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户详细信息表
 * </p>
 *
 * @author mdzz
 * @since 2019-07-19
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class User implements Serializable {

    private static final long serialVersionUID=1L;

    @TableId("userId")
    private Integer userId;

    @TableField("userName")
    private String userName;

    private String password;

    private String salt;

    private Integer valid;

    @TableField("nickName")
    private String nickName;

    @TableField("headPhoto")
    private String headPhoto;

    private String email;

    private String mobile;

    private LocalDate birth;

    private String gender;

    private String hobby;

    private String city;

    private String address;

    @TableField("centerId")
    private Integer centerId;

    @TableField("classId")
    private Integer classId;

    @TableField("roleId")
    private Integer roleId;

    private String grade;

    private Integer score;

    @TableField("createdTime")
    private Date createdTime;

    @TableField("modifiedTime")
    private Date modifiedTime;

    @TableField("createdUser")
    private String createdUser;

    @TableField("modifiedUser")
    private String modifiedUser;


}
